﻿using System;
using UnityEngine;
using UnityEngine.EventSystems;

namespace UniRx.Triggers
{
	// Token: 0x02000448 RID: 1096
	public static class ObservableTriggerExtensions
	{
		// Token: 0x0600170D RID: 5901 RVA: 0x00062C47 File Offset: 0x00061047
		public static IObservable<int> OnAnimatorIKAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<int>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableAnimatorTrigger>(component.gameObject).OnAnimatorIKAsObservable();
		}

		// Token: 0x0600170E RID: 5902 RVA: 0x00062C7C File Offset: 0x0006107C
		public static IObservable<Unit> OnAnimatorMoveAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableAnimatorTrigger>(component.gameObject).OnAnimatorMoveAsObservable();
		}

		// Token: 0x0600170F RID: 5903 RVA: 0x00062CB1 File Offset: 0x000610B1
		public static IObservable<Collision2D> OnCollisionEnter2DAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<Collision2D>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableCollision2DTrigger>(component.gameObject).OnCollisionEnter2DAsObservable();
		}

		// Token: 0x06001710 RID: 5904 RVA: 0x00062CE6 File Offset: 0x000610E6
		public static IObservable<Collision2D> OnCollisionExit2DAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<Collision2D>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableCollision2DTrigger>(component.gameObject).OnCollisionExit2DAsObservable();
		}

		// Token: 0x06001711 RID: 5905 RVA: 0x00062D1B File Offset: 0x0006111B
		public static IObservable<Collision2D> OnCollisionStay2DAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<Collision2D>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableCollision2DTrigger>(component.gameObject).OnCollisionStay2DAsObservable();
		}

		// Token: 0x06001712 RID: 5906 RVA: 0x00062D50 File Offset: 0x00061150
		public static IObservable<Collision> OnCollisionEnterAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<Collision>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableCollisionTrigger>(component.gameObject).OnCollisionEnterAsObservable();
		}

		// Token: 0x06001713 RID: 5907 RVA: 0x00062D85 File Offset: 0x00061185
		public static IObservable<Collision> OnCollisionExitAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<Collision>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableCollisionTrigger>(component.gameObject).OnCollisionExitAsObservable();
		}

		// Token: 0x06001714 RID: 5908 RVA: 0x00062DBA File Offset: 0x000611BA
		public static IObservable<Collision> OnCollisionStayAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<Collision>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableCollisionTrigger>(component.gameObject).OnCollisionStayAsObservable();
		}

		// Token: 0x06001715 RID: 5909 RVA: 0x00062DEF File Offset: 0x000611EF
		public static IObservable<Unit> OnDestroyAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Return(Unit.Default);
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableDestroyTrigger>(component.gameObject).OnDestroyAsObservable();
		}

		// Token: 0x06001716 RID: 5910 RVA: 0x00062E29 File Offset: 0x00061229
		public static IObservable<Unit> OnEnableAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableEnableTrigger>(component.gameObject).OnEnableAsObservable();
		}

		// Token: 0x06001717 RID: 5911 RVA: 0x00062E5E File Offset: 0x0006125E
		public static IObservable<Unit> OnDisableAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableEnableTrigger>(component.gameObject).OnDisableAsObservable();
		}

		// Token: 0x06001718 RID: 5912 RVA: 0x00062E93 File Offset: 0x00061293
		public static IObservable<Unit> FixedUpdateAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableFixedUpdateTrigger>(component.gameObject).FixedUpdateAsObservable();
		}

		// Token: 0x06001719 RID: 5913 RVA: 0x00062EC8 File Offset: 0x000612C8
		public static IObservable<Unit> LateUpdateAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableLateUpdateTrigger>(component.gameObject).LateUpdateAsObservable();
		}

		// Token: 0x0600171A RID: 5914 RVA: 0x00062EFD File Offset: 0x000612FD
		public static IObservable<Unit> OnMouseDownAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableMouseTrigger>(component.gameObject).OnMouseDownAsObservable();
		}

		// Token: 0x0600171B RID: 5915 RVA: 0x00062F32 File Offset: 0x00061332
		public static IObservable<Unit> OnMouseDragAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableMouseTrigger>(component.gameObject).OnMouseDragAsObservable();
		}

		// Token: 0x0600171C RID: 5916 RVA: 0x00062F67 File Offset: 0x00061367
		public static IObservable<Unit> OnMouseEnterAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableMouseTrigger>(component.gameObject).OnMouseEnterAsObservable();
		}

		// Token: 0x0600171D RID: 5917 RVA: 0x00062F9C File Offset: 0x0006139C
		public static IObservable<Unit> OnMouseExitAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableMouseTrigger>(component.gameObject).OnMouseExitAsObservable();
		}

		// Token: 0x0600171E RID: 5918 RVA: 0x00062FD1 File Offset: 0x000613D1
		public static IObservable<Unit> OnMouseOverAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableMouseTrigger>(component.gameObject).OnMouseOverAsObservable();
		}

		// Token: 0x0600171F RID: 5919 RVA: 0x00063006 File Offset: 0x00061406
		public static IObservable<Unit> OnMouseUpAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableMouseTrigger>(component.gameObject).OnMouseUpAsObservable();
		}

		// Token: 0x06001720 RID: 5920 RVA: 0x0006303B File Offset: 0x0006143B
		public static IObservable<Unit> OnMouseUpAsButtonAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableMouseTrigger>(component.gameObject).OnMouseUpAsButtonAsObservable();
		}

		// Token: 0x06001721 RID: 5921 RVA: 0x00063070 File Offset: 0x00061470
		public static IObservable<Collider2D> OnTriggerEnter2DAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<Collider2D>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableTrigger2DTrigger>(component.gameObject).OnTriggerEnter2DAsObservable();
		}

		// Token: 0x06001722 RID: 5922 RVA: 0x000630A5 File Offset: 0x000614A5
		public static IObservable<Collider2D> OnTriggerExit2DAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<Collider2D>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableTrigger2DTrigger>(component.gameObject).OnTriggerExit2DAsObservable();
		}

		// Token: 0x06001723 RID: 5923 RVA: 0x000630DA File Offset: 0x000614DA
		public static IObservable<Collider2D> OnTriggerStay2DAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<Collider2D>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableTrigger2DTrigger>(component.gameObject).OnTriggerStay2DAsObservable();
		}

		// Token: 0x06001724 RID: 5924 RVA: 0x0006310F File Offset: 0x0006150F
		public static IObservable<Collider> OnTriggerEnterAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<Collider>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableTriggerTrigger>(component.gameObject).OnTriggerEnterAsObservable();
		}

		// Token: 0x06001725 RID: 5925 RVA: 0x00063144 File Offset: 0x00061544
		public static IObservable<Collider> OnTriggerExitAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<Collider>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableTriggerTrigger>(component.gameObject).OnTriggerExitAsObservable();
		}

		// Token: 0x06001726 RID: 5926 RVA: 0x00063179 File Offset: 0x00061579
		public static IObservable<Collider> OnTriggerStayAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<Collider>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableTriggerTrigger>(component.gameObject).OnTriggerStayAsObservable();
		}

		// Token: 0x06001727 RID: 5927 RVA: 0x000631AE File Offset: 0x000615AE
		public static IObservable<Unit> UpdateAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableUpdateTrigger>(component.gameObject).UpdateAsObservable();
		}

		// Token: 0x06001728 RID: 5928 RVA: 0x000631E3 File Offset: 0x000615E3
		public static IObservable<Unit> OnBecameInvisibleAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableVisibleTrigger>(component.gameObject).OnBecameInvisibleAsObservable();
		}

		// Token: 0x06001729 RID: 5929 RVA: 0x00063218 File Offset: 0x00061618
		public static IObservable<Unit> OnBecameVisibleAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableVisibleTrigger>(component.gameObject).OnBecameVisibleAsObservable();
		}

		// Token: 0x0600172A RID: 5930 RVA: 0x0006324D File Offset: 0x0006164D
		public static IObservable<Unit> OnBeforeTransformParentChangedAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableTransformChangedTrigger>(component.gameObject).OnBeforeTransformParentChangedAsObservable();
		}

		// Token: 0x0600172B RID: 5931 RVA: 0x00063282 File Offset: 0x00061682
		public static IObservable<Unit> OnTransformParentChangedAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableTransformChangedTrigger>(component.gameObject).OnTransformParentChangedAsObservable();
		}

		// Token: 0x0600172C RID: 5932 RVA: 0x000632B7 File Offset: 0x000616B7
		public static IObservable<Unit> OnTransformChildrenChangedAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableTransformChangedTrigger>(component.gameObject).OnTransformChildrenChangedAsObservable();
		}

		// Token: 0x0600172D RID: 5933 RVA: 0x000632EC File Offset: 0x000616EC
		public static IObservable<Unit> OnCanvasGroupChangedAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableCanvasGroupChangedTrigger>(component.gameObject).OnCanvasGroupChangedAsObservable();
		}

		// Token: 0x0600172E RID: 5934 RVA: 0x00063321 File Offset: 0x00061721
		public static IObservable<Unit> OnRectTransformDimensionsChangeAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableRectTransformTrigger>(component.gameObject).OnRectTransformDimensionsChangeAsObservable();
		}

		// Token: 0x0600172F RID: 5935 RVA: 0x00063356 File Offset: 0x00061756
		public static IObservable<Unit> OnRectTransformRemovedAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableRectTransformTrigger>(component.gameObject).OnRectTransformRemovedAsObservable();
		}

		// Token: 0x06001730 RID: 5936 RVA: 0x0006338B File Offset: 0x0006178B
		public static IObservable<BaseEventData> OnDeselectAsObservable(this UIBehaviour component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<BaseEventData>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableDeselectTrigger>(component.gameObject).OnDeselectAsObservable();
		}

		// Token: 0x06001731 RID: 5937 RVA: 0x000633C0 File Offset: 0x000617C0
		public static IObservable<AxisEventData> OnMoveAsObservable(this UIBehaviour component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<AxisEventData>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableMoveTrigger>(component.gameObject).OnMoveAsObservable();
		}

		// Token: 0x06001732 RID: 5938 RVA: 0x000633F5 File Offset: 0x000617F5
		public static IObservable<PointerEventData> OnPointerDownAsObservable(this UIBehaviour component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<PointerEventData>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservablePointerDownTrigger>(component.gameObject).OnPointerDownAsObservable();
		}

		// Token: 0x06001733 RID: 5939 RVA: 0x0006342A File Offset: 0x0006182A
		public static IObservable<PointerEventData> OnPointerEnterAsObservable(this UIBehaviour component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<PointerEventData>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservablePointerEnterTrigger>(component.gameObject).OnPointerEnterAsObservable();
		}

		// Token: 0x06001734 RID: 5940 RVA: 0x0006345F File Offset: 0x0006185F
		public static IObservable<PointerEventData> OnPointerExitAsObservable(this UIBehaviour component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<PointerEventData>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservablePointerExitTrigger>(component.gameObject).OnPointerExitAsObservable();
		}

		// Token: 0x06001735 RID: 5941 RVA: 0x00063494 File Offset: 0x00061894
		public static IObservable<PointerEventData> OnPointerUpAsObservable(this UIBehaviour component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<PointerEventData>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservablePointerUpTrigger>(component.gameObject).OnPointerUpAsObservable();
		}

		// Token: 0x06001736 RID: 5942 RVA: 0x000634C9 File Offset: 0x000618C9
		public static IObservable<BaseEventData> OnSelectAsObservable(this UIBehaviour component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<BaseEventData>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableSelectTrigger>(component.gameObject).OnSelectAsObservable();
		}

		// Token: 0x06001737 RID: 5943 RVA: 0x000634FE File Offset: 0x000618FE
		public static IObservable<PointerEventData> OnPointerClickAsObservable(this UIBehaviour component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<PointerEventData>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservablePointerClickTrigger>(component.gameObject).OnPointerClickAsObservable();
		}

		// Token: 0x06001738 RID: 5944 RVA: 0x00063533 File Offset: 0x00061933
		public static IObservable<BaseEventData> OnSubmitAsObservable(this UIBehaviour component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<BaseEventData>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableSubmitTrigger>(component.gameObject).OnSubmitAsObservable();
		}

		// Token: 0x06001739 RID: 5945 RVA: 0x00063568 File Offset: 0x00061968
		public static IObservable<PointerEventData> OnDragAsObservable(this UIBehaviour component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<PointerEventData>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableDragTrigger>(component.gameObject).OnDragAsObservable();
		}

		// Token: 0x0600173A RID: 5946 RVA: 0x0006359D File Offset: 0x0006199D
		public static IObservable<PointerEventData> OnBeginDragAsObservable(this UIBehaviour component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<PointerEventData>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableBeginDragTrigger>(component.gameObject).OnBeginDragAsObservable();
		}

		// Token: 0x0600173B RID: 5947 RVA: 0x000635D2 File Offset: 0x000619D2
		public static IObservable<PointerEventData> OnEndDragAsObservable(this UIBehaviour component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<PointerEventData>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableEndDragTrigger>(component.gameObject).OnEndDragAsObservable();
		}

		// Token: 0x0600173C RID: 5948 RVA: 0x00063607 File Offset: 0x00061A07
		public static IObservable<PointerEventData> OnDropAsObservable(this UIBehaviour component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<PointerEventData>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableDropTrigger>(component.gameObject).OnDropAsObservable();
		}

		// Token: 0x0600173D RID: 5949 RVA: 0x0006363C File Offset: 0x00061A3C
		public static IObservable<BaseEventData> OnUpdateSelectedAsObservable(this UIBehaviour component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<BaseEventData>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableUpdateSelectedTrigger>(component.gameObject).OnUpdateSelectedAsObservable();
		}

		// Token: 0x0600173E RID: 5950 RVA: 0x00063671 File Offset: 0x00061A71
		public static IObservable<PointerEventData> OnInitializePotentialDragAsObservable(this UIBehaviour component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<PointerEventData>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableInitializePotentialDragTrigger>(component.gameObject).OnInitializePotentialDragAsObservable();
		}

		// Token: 0x0600173F RID: 5951 RVA: 0x000636A6 File Offset: 0x00061AA6
		public static IObservable<BaseEventData> OnCancelAsObservable(this UIBehaviour component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<BaseEventData>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableCancelTrigger>(component.gameObject).OnCancelAsObservable();
		}

		// Token: 0x06001740 RID: 5952 RVA: 0x000636DB File Offset: 0x00061ADB
		public static IObservable<PointerEventData> OnScrollAsObservable(this UIBehaviour component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<PointerEventData>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableScrollTrigger>(component.gameObject).OnScrollAsObservable();
		}

		// Token: 0x06001741 RID: 5953 RVA: 0x00063710 File Offset: 0x00061B10
		public static IObservable<GameObject> OnParticleCollisionAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<GameObject>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableParticleTrigger>(component.gameObject).OnParticleCollisionAsObservable();
		}

		// Token: 0x06001742 RID: 5954 RVA: 0x00063745 File Offset: 0x00061B45
		public static IObservable<Unit> OnParticleTriggerAsObservable(this Component component)
		{
			if (component == null || component.gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableParticleTrigger>(component.gameObject).OnParticleTriggerAsObservable();
		}

		// Token: 0x06001743 RID: 5955 RVA: 0x0006377A File Offset: 0x00061B7A
		public static IObservable<int> OnAnimatorIKAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Empty<int>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableAnimatorTrigger>(gameObject).OnAnimatorIKAsObservable();
		}

		// Token: 0x06001744 RID: 5956 RVA: 0x00063799 File Offset: 0x00061B99
		public static IObservable<Unit> OnAnimatorMoveAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableAnimatorTrigger>(gameObject).OnAnimatorMoveAsObservable();
		}

		// Token: 0x06001745 RID: 5957 RVA: 0x000637B8 File Offset: 0x00061BB8
		public static IObservable<Collision2D> OnCollisionEnter2DAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Empty<Collision2D>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableCollision2DTrigger>(gameObject).OnCollisionEnter2DAsObservable();
		}

		// Token: 0x06001746 RID: 5958 RVA: 0x000637D7 File Offset: 0x00061BD7
		public static IObservable<Collision2D> OnCollisionExit2DAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Empty<Collision2D>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableCollision2DTrigger>(gameObject).OnCollisionExit2DAsObservable();
		}

		// Token: 0x06001747 RID: 5959 RVA: 0x000637F6 File Offset: 0x00061BF6
		public static IObservable<Collision2D> OnCollisionStay2DAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Empty<Collision2D>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableCollision2DTrigger>(gameObject).OnCollisionStay2DAsObservable();
		}

		// Token: 0x06001748 RID: 5960 RVA: 0x00063815 File Offset: 0x00061C15
		public static IObservable<Collision> OnCollisionEnterAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Empty<Collision>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableCollisionTrigger>(gameObject).OnCollisionEnterAsObservable();
		}

		// Token: 0x06001749 RID: 5961 RVA: 0x00063834 File Offset: 0x00061C34
		public static IObservable<Collision> OnCollisionExitAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Empty<Collision>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableCollisionTrigger>(gameObject).OnCollisionExitAsObservable();
		}

		// Token: 0x0600174A RID: 5962 RVA: 0x00063853 File Offset: 0x00061C53
		public static IObservable<Collision> OnCollisionStayAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Empty<Collision>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableCollisionTrigger>(gameObject).OnCollisionStayAsObservable();
		}

		// Token: 0x0600174B RID: 5963 RVA: 0x00063872 File Offset: 0x00061C72
		public static IObservable<Unit> OnDestroyAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Return(Unit.Default);
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableDestroyTrigger>(gameObject).OnDestroyAsObservable();
		}

		// Token: 0x0600174C RID: 5964 RVA: 0x00063896 File Offset: 0x00061C96
		public static IObservable<Unit> OnEnableAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableEnableTrigger>(gameObject).OnEnableAsObservable();
		}

		// Token: 0x0600174D RID: 5965 RVA: 0x000638B5 File Offset: 0x00061CB5
		public static IObservable<Unit> OnDisableAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableEnableTrigger>(gameObject).OnDisableAsObservable();
		}

		// Token: 0x0600174E RID: 5966 RVA: 0x000638D4 File Offset: 0x00061CD4
		public static IObservable<Unit> FixedUpdateAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableFixedUpdateTrigger>(gameObject).FixedUpdateAsObservable();
		}

		// Token: 0x0600174F RID: 5967 RVA: 0x000638F3 File Offset: 0x00061CF3
		public static IObservable<Unit> LateUpdateAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableLateUpdateTrigger>(gameObject).LateUpdateAsObservable();
		}

		// Token: 0x06001750 RID: 5968 RVA: 0x00063912 File Offset: 0x00061D12
		public static IObservable<Unit> OnMouseDownAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableMouseTrigger>(gameObject).OnMouseDownAsObservable();
		}

		// Token: 0x06001751 RID: 5969 RVA: 0x00063931 File Offset: 0x00061D31
		public static IObservable<Unit> OnMouseDragAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableMouseTrigger>(gameObject).OnMouseDragAsObservable();
		}

		// Token: 0x06001752 RID: 5970 RVA: 0x00063950 File Offset: 0x00061D50
		public static IObservable<Unit> OnMouseEnterAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableMouseTrigger>(gameObject).OnMouseEnterAsObservable();
		}

		// Token: 0x06001753 RID: 5971 RVA: 0x0006396F File Offset: 0x00061D6F
		public static IObservable<Unit> OnMouseExitAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableMouseTrigger>(gameObject).OnMouseExitAsObservable();
		}

		// Token: 0x06001754 RID: 5972 RVA: 0x0006398E File Offset: 0x00061D8E
		public static IObservable<Unit> OnMouseOverAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableMouseTrigger>(gameObject).OnMouseOverAsObservable();
		}

		// Token: 0x06001755 RID: 5973 RVA: 0x000639AD File Offset: 0x00061DAD
		public static IObservable<Unit> OnMouseUpAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableMouseTrigger>(gameObject).OnMouseUpAsObservable();
		}

		// Token: 0x06001756 RID: 5974 RVA: 0x000639CC File Offset: 0x00061DCC
		public static IObservable<Unit> OnMouseUpAsButtonAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableMouseTrigger>(gameObject).OnMouseUpAsButtonAsObservable();
		}

		// Token: 0x06001757 RID: 5975 RVA: 0x000639EB File Offset: 0x00061DEB
		public static IObservable<Collider2D> OnTriggerEnter2DAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Empty<Collider2D>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableTrigger2DTrigger>(gameObject).OnTriggerEnter2DAsObservable();
		}

		// Token: 0x06001758 RID: 5976 RVA: 0x00063A0A File Offset: 0x00061E0A
		public static IObservable<Collider2D> OnTriggerExit2DAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Empty<Collider2D>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableTrigger2DTrigger>(gameObject).OnTriggerExit2DAsObservable();
		}

		// Token: 0x06001759 RID: 5977 RVA: 0x00063A29 File Offset: 0x00061E29
		public static IObservable<Collider2D> OnTriggerStay2DAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Empty<Collider2D>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableTrigger2DTrigger>(gameObject).OnTriggerStay2DAsObservable();
		}

		// Token: 0x0600175A RID: 5978 RVA: 0x00063A48 File Offset: 0x00061E48
		public static IObservable<Collider> OnTriggerEnterAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Empty<Collider>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableTriggerTrigger>(gameObject).OnTriggerEnterAsObservable();
		}

		// Token: 0x0600175B RID: 5979 RVA: 0x00063A67 File Offset: 0x00061E67
		public static IObservable<Collider> OnTriggerExitAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Empty<Collider>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableTriggerTrigger>(gameObject).OnTriggerExitAsObservable();
		}

		// Token: 0x0600175C RID: 5980 RVA: 0x00063A86 File Offset: 0x00061E86
		public static IObservable<Collider> OnTriggerStayAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Empty<Collider>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableTriggerTrigger>(gameObject).OnTriggerStayAsObservable();
		}

		// Token: 0x0600175D RID: 5981 RVA: 0x00063AA5 File Offset: 0x00061EA5
		public static IObservable<Unit> UpdateAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableUpdateTrigger>(gameObject).UpdateAsObservable();
		}

		// Token: 0x0600175E RID: 5982 RVA: 0x00063AC4 File Offset: 0x00061EC4
		public static IObservable<Unit> OnBecameInvisibleAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableVisibleTrigger>(gameObject).OnBecameInvisibleAsObservable();
		}

		// Token: 0x0600175F RID: 5983 RVA: 0x00063AE3 File Offset: 0x00061EE3
		public static IObservable<Unit> OnBecameVisibleAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableVisibleTrigger>(gameObject).OnBecameVisibleAsObservable();
		}

		// Token: 0x06001760 RID: 5984 RVA: 0x00063B02 File Offset: 0x00061F02
		public static IObservable<Unit> OnBeforeTransformParentChangedAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableTransformChangedTrigger>(gameObject).OnBeforeTransformParentChangedAsObservable();
		}

		// Token: 0x06001761 RID: 5985 RVA: 0x00063B21 File Offset: 0x00061F21
		public static IObservable<Unit> OnTransformParentChangedAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableTransformChangedTrigger>(gameObject).OnTransformParentChangedAsObservable();
		}

		// Token: 0x06001762 RID: 5986 RVA: 0x00063B40 File Offset: 0x00061F40
		public static IObservable<Unit> OnTransformChildrenChangedAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableTransformChangedTrigger>(gameObject).OnTransformChildrenChangedAsObservable();
		}

		// Token: 0x06001763 RID: 5987 RVA: 0x00063B5F File Offset: 0x00061F5F
		public static IObservable<Unit> OnCanvasGroupChangedAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableCanvasGroupChangedTrigger>(gameObject).OnCanvasGroupChangedAsObservable();
		}

		// Token: 0x06001764 RID: 5988 RVA: 0x00063B7E File Offset: 0x00061F7E
		public static IObservable<Unit> OnRectTransformDimensionsChangeAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableRectTransformTrigger>(gameObject).OnRectTransformDimensionsChangeAsObservable();
		}

		// Token: 0x06001765 RID: 5989 RVA: 0x00063B9D File Offset: 0x00061F9D
		public static IObservable<Unit> OnRectTransformRemovedAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableRectTransformTrigger>(gameObject).OnRectTransformRemovedAsObservable();
		}

		// Token: 0x06001766 RID: 5990 RVA: 0x00063BBC File Offset: 0x00061FBC
		public static IObservable<GameObject> OnParticleCollisionAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Empty<GameObject>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableParticleTrigger>(gameObject).OnParticleCollisionAsObservable();
		}

		// Token: 0x06001767 RID: 5991 RVA: 0x00063BDB File Offset: 0x00061FDB
		public static IObservable<Unit> OnParticleTriggerAsObservable(this GameObject gameObject)
		{
			if (gameObject == null)
			{
				return Observable.Empty<Unit>();
			}
			return ObservableTriggerExtensions.GetOrAddComponent<ObservableParticleTrigger>(gameObject).OnParticleTriggerAsObservable();
		}

		// Token: 0x06001768 RID: 5992 RVA: 0x00063BFC File Offset: 0x00061FFC
		private static T GetOrAddComponent<T>(GameObject gameObject) where T : Component
		{
			T t = gameObject.GetComponent<T>();
			if (t == null)
			{
				t = gameObject.AddComponent<T>();
			}
			return t;
		}
	}
}
